package com.hnqcgczy.dao;

import com.hnqcgczy.vo.OrderDetailVo;
import com.hnqcgczy.vo.TOrder;
import com.hnqcgczy.vo.TOrderDetail;

import java.util.List;

public interface IOrderDao {
    //添加订单
    int addOrder(TOrder order);
    //添加订单明细
    int addOrderDetail(TOrderDetail orderDetail);

    //根据用户编号获取订单列表
    List<TOrder> getOrderList(String tuId);
    //根据订单编号获取订单明细列表
    List<OrderDetailVo> getOrderDetailList(String oNumber);

    int updadeOrder(TOrder order);

    TOrder getOrder(String tonumber);
}
